package com.yuke.cloud.service.omc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@ApiModel(value="com.yuke.cloud.service.omc.entity.OdsAwardRecord")
@Data
@Table(name = "ods_award_record")
public class OdsAwardRecordDto {
    /**
     * 兑奖记录ID
     */
    @ApiModelProperty(value="recordId兑奖记录ID")
    private Long recordId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value="userId用户ID")
    private Long userId;

    /**
     * 店铺ID
     */
    @ApiModelProperty(value="shopId店铺ID")
    private Long shopId;

    private String shopName;
    /**
     * 兑奖规则ID
     */
    @ApiModelProperty(value="awardId兑奖规则ID")
    private Long awardId;

    /**
     * 商品ID
     */
    @ApiModelProperty(value="specId商品ID")
    private Long specId;

    private String specName;

    private String picUrl;
    /**
     * 订单ID
     */
    @ApiModelProperty(value="orderId订单ID")
    private Long orderId;

    /**
     * 兑奖商品数量
     */
    @ApiModelProperty(value="awardNumber兑奖商品数量")
    private Integer awardNumber;

    /**
     * 兑奖记录状态：0未绑定，1已绑定订单，2订单已发货
     */
    @ApiModelProperty(value="awardStatus兑奖记录状态：0未绑定，1已绑定订单，2订单已发货")
    private Byte awardStatus;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="createTime创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value="updateTime修改时间")
    private Date updateTime;

    private String description;
}